package com.exposit.zbs.model;

import com.exposit.zbs.entity.UserEntity;

import java.util.Date;


/**
 * Created by Andrey on 04.09.2014.
 */
public class Message {
	private Integer id;
	private User sender;
	private User reciver;

	public Integer getId() {

		return id;
	}

	public void setId(Integer id) {

		this.id = id;
	}

	public User getSender() {

		return sender;
	}

	public void setSender(User sender) {

		this.sender = sender;
	}

	public User getReciver() {

		return reciver;
	}

	public void setReciver(User reciver) {

		this.reciver = reciver;
	}

	public String getMessageText() {

		return messageText;
	}

	public void setMessageText(String messageText) {

		this.messageText = messageText;
	}

	public boolean getReaded() {

		return readed;
	}

	public void setReaded(boolean isReaded) {

		this.readed = isReaded;
	}

	public Date getMessageDate() {

		return messageDate;
	}

	public void setMessageDate(Date messageDate) {

		this.messageDate = messageDate;
	}

	private String messageText;
	private boolean readed;
	private Date messageDate;
}
